home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 3: CDPD 3
/
Almathera Ten on Ten - Disc 3: CDPD3.iso
/
fish
/
676-700
/
680
/
atap
/
sourcecode
/
longtostring.c
< prev
next >
Wrap
Text File
|
1995-03-18
|
308b
|
16 lines
/* Routine converts long integers to strings using the ingenious
sprintf() and sscanf() functions. */
LongtoString(value,outString)
long value;
char *outString;
{
static char storage[14]; /* enough room for 10 digits plus '-' sign */
sprintf(storage,"%ld\0",value);
outString=storage;
return(0);
}